<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<div>
<ul class="list-group banner_topic">
  <c:forEach items="${posts }" var="bean">
  	<li class="list-group-item" data-h="${bean.id }">${bean.description }</li>
  </c:forEach>
</ul>
</div>
<script>
$(".modal-title").html("专题");
$(".banner_topic li").click(function(){
	var id = $(this).attr("data-h");
	$("input[name='bannerValue']").val(id);
});
</script>